const int redPin = A0; // sensor to control dark color void setup() { Serial.begin(9600); } void loop() { Serial.print(analogRead(redPin)); }